package com.jp.knowledge.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;

import com.jp.knowledge.comm.JpApplication;

/**
 * Created by 528787067@qq.com on 2017/3/1.
 */

public class BaseService extends Service {

    protected JpApplication application;

    @Override
    public void onCreate() {
        super.onCreate();
        application = (JpApplication) getApplication();
        application.addService(this);
    }

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }
}
